Skip to main content

openField

Type

message

Summary

Sent to an unlocked field when you click or select text in that field.

Syntax

openField

Description

Handle the openField message if you want to do something when the user enters a field widget. The message is not sent if the field is locked.

Examples

on openField -- when clicking in the field, select all its text
local tText
put the text of the target into tText
set the selectedRange of the target to "1," & \
the number of chars in tText
end openField

Compatibility and Support

OS

android